import { Injectable } from '@angular/core';
import { HttpClientService } from '../../../../../services/http-client.service';
@Injectable()
export class RemindService {

  constructor(public httpClient: HttpClientService) { }

  // 提醒列表
  list(getBody) {
    return this.httpClient.get('/pms/v1/sendHis/listSendHistories', getBody)
  }
  //流程明细
  detail(getBody, nBatchNo) {
    return this.httpClient.get('/pms/v1/riskmanage/qdiiData/pmsQDIIData/' + nBatchNo, getBody);
  }
  //NQDII/QDII提醒列表-发送提醒接口
  sendRemind(getBody) {
    return this.httpClient.post('/pms/v1/sendHis/sendHistories', getBody)
  }
  //设置默认接口
  setDefault(postBody) {
    return this.httpClient.post('/pms/v1/sendHis/setDefault', postBody);

  }
  //获取设置默认值
  defaultValue(getBody) {
    return this.httpClient.get('/pms/v1/sendHis/defaultValue', getBody);
  }
}
